<div class="page-header">
    <div class="pull-left">
        <h1 class="content-title"><%= __('framework.management') %></h1>
        <input type="hidden" id="_loginAccountId" value="<%= session.userData.userId %>" />
        <input type="hidden" id="_userType" value="<%= session.userData.accountType %>" />
        <input type="hidden" id="_loginVendorId" value="<%= session.userData.vendorId %>" />
        <input type="hidden" id="editId" />
        <input type="hidden" id="editType" />
        <input type="hidden" id="editParentId" />
        <input id="publicContextPath" type="hidden" value="<%= global.config.contextPath%>" />
        <input id="logoUrl" type="hidden" value=""/>
    </div>
</div>
<div class="dolphin-col-24 main" id="myContent">
    <div class="row">
        <div class="col-md-3">
            <div class="panel panel-primary box">
                <div class="panel-heading box-title">
                    <h3 class="panel-title">
                        <i class="fa fa-table fa-lg" aria-hidden="true"></i>
                        <%= __('framework.tree') %>
                        <a title="<%= __('framework.flash') %>" style=" float: right ; margin-right: 10px;" class="btn-mini archit-content-refresh" href="#">
                            <i class="fa fa-refresh"></i>
                        </a>
                        <a title="<%= __('news.delete') %>" style=" float: right ; margin-right: 10px;" class="btn-mini delArchit" href="#">
                            <i class="fa fa-trash-o"></i>
                        </a>
                        <a title="<%= __('account.edit') %>" style=" float: right ; margin-right: 10px;" class="btn-mini editArchit" href="#">
                            <i class="fa fa-edit"></i>
                        </a>
                        <a title="<%= __('framework.newAdding') %>" style=" float: right ; margin-right: 10px;" class="btn-mini newArchit" href="#">
                            <i class="fa fa-plus"></i>
                        </a>
                    </h3>
                </div>
                <div id="architTree"></div>
            </div>
        </div>
        <div class="col-md-9">
            <div class="panel panel-info" style="margin-bottom: 8px;" id="basicInfo">
                <div class="panel-heading" style="padding: 5px 10px;">
                    <div class="panel-title">
                        <%= __('framework.basic.information') %>
                    </div>
                </div>
                <!--渠道商-->
                <div  id="vendorBaseInfo" style="padding: 5px; display: none;"
                      class="panel-body form-horizontal vendorBaseInfo nonDeviceBaseInfo nonCustomerBaseInfo nonGroupBaseInfo nonShopBaseInfo">
                    <div class="dolphin-row">
                        <div class="dolphin-col-10">
                            <label class="col-sm-5 control-label" style="text-align: left;">
                                <%= __('tenant.CDName') %>
                            </label>
                            <div class="col-sm-7">
                                <p class="form-control-static" name="name" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-14">
                            <label class="col-sm-3 control-label"  style="text-align: left;">
                                <%= __('framework.address') %>
                            </label>
                            <div class="col-sm-9">
                                <p class="form-control-static" name="address" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('tenant.CDCode') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="code" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.contactPerson') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="contactPerson" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.cellphoneNumber') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="mobile" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                Email
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="email" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12 perInfo cus">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.basicRebate') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="profit" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12 perInfo cus">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                LOGO
                            </label>
                            <div class="col-sm-8" id="vendorShowImg">
                            </div>
                        </div>
                    </div>
                </div>
                <!--客户-->
                <div  id="customerBaseInfo" style="padding: 5px;display: none;"
                      class="panel-body form-horizontal nonVendorBaseInfo nonDeviceBaseInfo customerBaseInfo nonGroupBaseInfo nonShopBaseInfo">
                    <div class="dolphin-row">
                        <div class="dolphin-col-10">
                            <label class="col-sm-4 control-label" style="text-align: left;">
                                <%= __('framework.clientName') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="name" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-14">
                            <label class="col-sm-3 control-label"  style="text-align: left;">
                                <%= __('framework.address') %>
                            </label>
                            <div class="col-sm-9">
                                <p class="form-control-static" name="address" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.clientCode') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="code" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.contactPerson') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="contactPerson" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.telephone') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="mobile" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.email') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="email" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12 perInfo cus">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.clientSource') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="sourceCaption" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12 perInfo cus">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.businessCategory') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="industryCaption" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12 perInfo cus">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                LOGO
                            </label>
                            <div class="col-sm-8" id="customerShowImg">
                            </div>
                        </div>
                    </div>
                </div>
                <!--目录-->
                <div  id="groupBaseInfo" style="padding: 5px;display: none;"
                      class="panel-body form-horizontal nonVendorBaseInfo nonDeviceBaseInfo nonCustomerBaseInfo groupBaseInfo nonShopBaseInfo">
                    <div class="dolphin-row">
                        <div class="dolphin-col-10">
                            <label class="col-sm-4 control-label" style="text-align: left;">
                                <%= __('framework.catalogName') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="name" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-14">
                            <label class="col-sm-2 control-label"  style="text-align: left;">
                                <%= __('framework.remarks') %>
                            </label>
                            <div class="col-sm-10">
                                <p class="form-control-static" name="remark" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.catalogCodes') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="code" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                    </div>
                </div>
                <!--店铺-->
                <div  id="shopBaseInfo" style="padding: 5px;display: none;"
                      class="panel-body form-horizontal nonVendorBaseInfo nonDeviceBaseInfo nonCustomerBaseInfo nonGroupBaseInfo shopBaseInfo">
                    <div class="dolphin-row">
                        <div class="dolphin-col-20">
                            <label class="col-sm-2 control-label" style="text-align: left;">
                                <%= __('framework.storeName') %>
                            </label>
                            <div class="col-sm-7" id="shopForPos">
                                <p class="form-control-static" name="name" style="margin-left: 1%;color: #868686;font-size:14px;display:inline-block"></p>
                            </div>
                        </div>

                        <div class="dolphin-col-12">
                            <label class="col-sm-5 control-label"  style="text-align: left;">
                                <%= __('framework.storeCode') %>
                            </label>
                            <div class="col-sm-6">
                                <p class="form-control-static" name="code" style="margin-left: 13%;color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-3 control-label"  style="text-align: left;">
                                <%= __('framework.storeType') %>
                            </label>
                            <div class="col-sm-7">
                                <p class="form-control-static" id="shopTypeTemp" name="shopTypeTemp" style="color: #868686;font-size:14px;"></p>
                            </div>
                            <div class="hidden">
                                <select style="width: 160px;" id="shopType" name="shopType" options="" ></select>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-5 control-label"  style="text-align: left;">
                                <%= __('framework.contactPerson') %>
                            </label>
                            <div class="col-sm-6">
                                <p class="form-control-static" name="contactPerson" style="margin-left: 13%;color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-3 control-label"  style="text-align: left;">
                                <%= __('framework.cellphoneNumber') %>
                            </label>
                            <div class="col-sm-7">
                                <p class="form-control-static" name="mobile" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>

                        <div class="dolphin-col-12 perInfo cus">
                            <label class="col-sm-5 control-label"  style="text-align: left;">
                                <%= __('framework.province') %>
                            </label>
                            <div class="col-sm-6">
                                <p class="form-control-static" name="province" style="margin-left: 13%;scolor: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12 perInfo cus">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.city') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="city" style="margin-left: 10%;color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12 perInfo cus">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.timezone') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="timeZone" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12 perInfo cus">
                            <label class="col-sm-5 control-label"  style="text-align: left;">
                                <%= __('framework.businessTime') %>
                            </label>
                            <div class="col-sm-7">
                                <div class="col-sm-6">
                                    <p class="form-control-static" name="openTime" style="color: #868686;font-size:14px;"></p>
                                </div>
                                <div class="col-sm-6">
                                    <p class="form-control-static" name="closeTime" style="color: #868686;font-size:14px;"></p>
                                </div>
                            </div>
                        </div>
                        <div class="dolphin-col-16">
                            <label class="col-sm-3 control-label"  style="text-align: left;">
                                <%= __('framework.expirationMaintainence') %>
                            </label>
                            <div class="col-sm-9">
                                <p class="form-control-static" name="guaranteeDeadLine" style="margin-left: -10%;color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-20">
                            <label class="col-sm-2 control-label"  style="text-align: left;">
                                <%= __('framework.storeAddress') %>
                            </label>
                            <div class="col-sm-9">
                                <p class="form-control-static" name="address" style="margin-left: 1%;color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                    </div>
                </div>
                <!--设备-->
                <div  id="deviceBaseInfo" style="padding: 5px;display: none;"
                      class="panel-body form-horizontal nonVendorBaseInfo deviceBaseInfo nonCustomerBaseInfo nonGroupBaseInfo nonShopBaseInfo">
                    <div class="dolphin-row">
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label" style="text-align: left;">
                                <%= __('framework.equipmentName') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="name" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-16">
                            <label class="col-sm-2 control-label"  style="text-align: left;">
                                <%= __('framework.equipmentType') %>
                            </label>
                            <div class="col-sm-10">
                                <p class="form-control-static" name="type" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.equipmentCode') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="code" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.subordinateStore') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="customerId" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.equipmentPosition') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="position" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.recordCycle') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="recordPeriod" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12 perInfo cus">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.acquisitionCycle') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="uploadPeriod" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                        <div class="dolphin-col-12 perInfo cus">
                            <label class="col-sm-4 control-label"  style="text-align: left;">
                                <%= __('framework.dataDirection') %>
                            </label>
                            <div class="col-sm-8">
                                <p class="form-control-static" name="direction" style="color: #868686;font-size:14px;"></p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="panel panel-primary" id="device-panel" style="display: none;">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <i class="fa fa-list fa-lg" aria-hidden="true"></i>
                        <%= __('framework.equipmentList') %>
                    </h3>
                    <div class="actions">
                        <a class="btn btn-mini newDevice" href="#">
                            <i class="fa fa-plus"></i>
                        </a>
                        <a class="btn btn-mini content-refresh" href="#">
                            <i class="fa fa-refresh"></i>
                        </a>
                    </div>
                </div>
                <div id="deviceList"></div>

            </div>
            <div id="emptyMsg" style="font-size: 18px;color: #2a2a2a;display: none;">**<%= __('framework.equipmentYet') %></div>
            <div class="panel panel-primary" id="shop-panel" style="display: none;">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <i class="fa fa-list fa-lg" aria-hidden="true"></i>
                        <%= __('framework.storesList') %>
                    </h3>
                    <div class="actions">
                    </div>
                </div>
                <div id="shopList"></div>
            </div>
        </div>
    </div>
</div>

<div class="modal" id="archit_win">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <span class="modal-title"><%= __('framework.newAdding') %></span>
            </div>
            <div class="modal-body">
                <ul class="nav nav-pills nav-justified" style="margin-bottom: 20px;">
                    <li role="presentation" class="active">
                        <a href="#architType" aria-controls="architType" role="tab" data-toggle="tab" id="architTypeTab">1.<%= __('framework.newAddedType') %></a>
                    </li>
                    <li role="presentation">
                        <a href="#architInfo" aria-controls="architInfo" role="tab" data-toggle="tab" id="architInfoTab">2.<%= __('framework.basicInformation') %></a>
                    </li>
                </ul>
                <hr/>

                <div class="tab-content">
                    <div role="tabpanel" class="tab-pane active" id="architType">
                        <form class="form-horizontal">
                            <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.Type') %></label>
                            <div class="col-md-6">
                                <!--<select class="form-control" name="architTypeVal" dol-validate="required" id="architTypeVal">
                                    <option value="">请选择</option>
                                    <option value="1">渠道商</option>
                                    <option value="2">客户</option>
                                    <option value="3">目录</option>
                                    <option value="4">店铺</option>
                                </select>-->
                                <select id="architTypeVal" class="form-control"
                                        options
                                        optionUrl="/api/75f8029b2d9d43178b4159c87a94de93@accountId=<%= session.userData.userId%>"
                                        ajaxType="get"
                                        codeField="id" nameField="name" name="architTypeVal"></select>
                            </div>
                            </div>
                        </form>
                        <hr/>
                        <div class="operationButton" style=" height: 40px;">
                            <button type="button" class="btn btn-primary" style="float: right" id="step_next"><%= __('framework.next') %></button>
                        </div>
                    </div>
                    <div role="tabpanel" class="tab-pane" id="architInfo">
                        <!--渠道商基本信息 start-->
                        <form class="form-horizontal edit-form vendor-form non-customer-form non-group-form non-shop-form" style="display: none">
                            <input type="hidden" class="form-control" name="id">
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('tenant.CDName') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="name" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('tenant.CDCode') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="code" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label">LOGO<br/><small><%= __('framework.suggested') %></small></label>
                                <div class="col-md-6">
                                    <div class="js-sku-atom-list sku-atom-list" >
                                        <div class="sku-atom active">
                                            <div class="atom-close close-modal small js-remove-sku-atom">×</div>
                                            <div class="upload-img-wrap ">
                                                <div class="js-upload-container" style="position:relative;">
                                                    <div class="add-image js-btn-add">+
                                                        <input style="position:absolute ; top:0 ; right:0 ; margin:0 ; opacity:0 ; cursor:pointer;"
                                                               class="imgupload"  type="file" name="upfile" multiple>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.contactPerson') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="contactPerson" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.telephone') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="mobile" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.email') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="email" type="text">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.address') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="address" type="text">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.basicRebate') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="profit" type="number">
                                </div>
                            </div>
                        </form>
                        <!--渠道商基本信息 end-->
                        <!--客户基本信息 start-->
                        <form class="form-horizontal edit-form customer-form non-vendor-form non-group-form non-shop-form" style="display: none">
                            <input type="hidden" class="form-control" name="id">
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.clientName') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="name" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.clientCode') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="code" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label">LOGO<br/><small><%= __('framework.suggested') %></small></label>
                                <div class="col-md-6">
                                    <div class="js-sku-atom-list sku-atom-list" >
                                        <div class="sku-atom active">
                                            <div class="atom-close close-modal small js-remove-sku-atom">×</div>
                                            <div class="upload-img-wrap ">
                                                <div class="js-upload-container" style="position:relative;">
                                                    <div class="add-image js-btn-add">+
                                                        <input style="position:absolute ; top:0 ; right:0 ; margin:0 ; opacity:0 ; cursor:pointer;"
                                                               class="imgupload"  type="file" name="upfile" multiple>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.clientSource') %></label>
                                <div class="col-md-6">
                                    <select class="form-control" options="source" name="source"></select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.businessCategory') %></label>
                                <div class="col-md-6">
                                    <select class="form-control" options="industry" name="industry"></select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('frameworkType.channelDistributor') %></label>
                                <div class="col-md-6">
                                    <!--<select id="vendorSelect" class="form-control"
                                            options
                                            optionUrl="/api/c477f55806ed4b3f934c3a21f8788dde"
                                            ajaxType="post"
                                            optionParam=''
                                            codeField="id" nameField="name" name="properties.vendorId">
                                    </select>-->

                                    <select id="vendorSelect"
                                            class="js-example-basic-single"
                                            style="width: 269px; height: 32px;"
                                            name="properties.vendorId"
                                    ></select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.contactPerson') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="contactPerson" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.cellphoneNumber') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="mobile" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.email') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="email" type="email">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.address') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="address" type="text">
                                </div>
                            </div>
                        </form>
                        <!--客户基本信息 end-->
                        <!--目录基本信息 start-->
                        <form class="form-horizontal edit-form group-form non-vendor-form non-customer-form non-shop-form" style="display: none">
                            <input type="hidden" class="form-control" name="id">
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.catalogName') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="name" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.catalogCodes') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="code" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('store.superior') %></label>
                                <div class="col-md-6">
                                    <select id="customerSelect"
                                            style="width: 269px; height: 32px;"
                                            name="parent.id"
                                            class="js-example-basic-single"></select>

                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.contactPerson') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="contactPerson" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.cellphoneNumber') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="mobile" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.email') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="email" type="email">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.address') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="address" type="text">
                                </div>
                            </div>
                        </form>
                        <!--目录基本信息 end-->
                        <!--店铺基本信息 start-->
                        <form class="form-horizontal edit-form shop-form non-vendor-form non-customer-form non-group-form" style="display: none">
                            <input type="hidden" class="form-control" name="id">
                            <input type="hidden" name="parent.id" value="<%= session.userData.customerId %>"/>
                            <input type="hidden" name="category" value="3">
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.storeName') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="name" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.storeCode') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="code" type="text" dol-validate="required">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.storeType') %></label>
                                <div class="col-md-6">
                                    <select class="form-control" id="new_shopType" name="shopType"   options="" ></select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('store.superior') %></label>
                                <div class="col-md-6">
                                    <select id="groupSelect"
                                            class="shop_parent js-example-basic-single"
                                            style="width: 269px; height: 32px;"
                                            name="parent.id"
                                            ></select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.province') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="province" placeholder="<%= __('framework.province') %>" type="text" style="width: 45%;float: left;">
                                    <input class="form-control" name="city" placeholder="<%= __('framework.city') %>" type="text" style="width: 45%;float: right;">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.storeAddress') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="address" type="text">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.timezone') %></label>
                                <div class="col-md-6">
                                    <select class="form-control" name="timeZone" id="timeZoneNew">
                                        <option value="0">UTC</option>
                                        <option value="1">UTC+1</option>
                                        <option value="2">UTC+2</option>
                                        <option value="3">UTC+3</option>
                                        <option value="4">UTC+4</option>
                                        <option value="5">UTC+5</option>
                                        <option value="6">UTC+6</option>
                                        <option value="7">UTC+7</option>
                                        <option value="8">UTC+8</option>
                                        <option value="9">UTC+9</option>
                                        <option value="10">UTC+10</option>
                                        <option value="11">UTC+11</option>
                                        <option value="-11">UTC-11</option>
                                        <option value="-10">UTC-10</option>
                                        <option value="-9">UTC-9</option>
                                        <option value="-8">UTC-8</option>
                                        <option value="-7">UTC-7</option>
                                        <option value="-6">UTC-6</option>
                                        <option value="-5">UTC-5</option>
                                        <option value="-4">UTC-4</option>
                                        <option value="-3">UTC-3</option>
                                        <option value="-2">UTC-2</option>
                                        <option value="-1">UTC-1</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.openingStore') %></label>
                                <div class="col-md-6">
                                    <div class="input-group date dolphin_date_picker" >
                                        <input type="text" class="form-control" name="openDate" id="openDate">
                                        <span class="input-group-addon">
                                        <i class="glyphicon glyphicon-th"></i>
                                    </span>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.closingStore') %></label>
                                <div class="col-md-6">
                                    <div class="input-group date dolphin_date_picker" >
                                        <input type="text" class="form-control" name="closeDate" id="closeDate">
                                        <span class="input-group-addon">
                                        <i class="glyphicon glyphicon-th"></i>
                                    </span>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.expirationMaintainence') %></label>
                                <div class="col-md-6">
                                    <div class="input-group date dolphin_date_picker" >
                                        <input type="text" class="form-control" name="guaranteeDeadLine" id="guaranteeDeadLine">
                                        <span class="input-group-addon">
                                        <i class="glyphicon glyphicon-th"></i>
                                    </span>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.businessTime') %></label>
                                <div class="col-md-6">
                                    <div class="input-group" style="width: 45%;float: left;">
                                        <select class="form-control" name="openTime" dol-validate="required">
                                            <option value="">--<%= __('account.pleaseSelect') %>--</option>
                                            <option value="0:00">0:00</option>
                                            <option value="0:30">0:30</option>
                                            <option value="1:00">1:00</option>
                                            <option value="1:30">1:30</option>
                                            <option value="2:00">2:00</option>
                                            <option value="2:30">2:30</option>
                                            <option value="3:00">3:00</option>
                                            <option value="3:30">3:30</option>
                                            <option value="4:00">4:00</option>
                                            <option value="4:30">4:30</option>
                                            <option value="5:00">5:00</option>
                                            <option value="5:30">5:30</option>
                                            <option value="6:00">6:00</option>
                                            <option value="6:30">6:30</option>
                                            <option value="7:00">7:00</option>
                                            <option value="7:30">7:30</option>
                                            <option value="8:00">8:00</option>
                                            <option value="8:30">8:30</option>
                                            <option value="9:00">9:00</option>
                                            <option value="9:30">9:30</option>
                                            <option value="10:00">10:00</option>
                                            <option value="10:30">10:30</option>
                                            <option value="11:00">11:00</option>
                                            <option value="11:30">11:30</option>
                                            <option value="12:00">12:00</option>
                                            <option value="12:30">12:30</option>
                                            <option value="13:00">13:00</option>
                                            <option value="13:30">13:30</option>
                                            <option value="14:00">14:00</option>
                                            <option value="14:30">14:30</option>
                                            <option value="15:00">15:00</option>
                                            <option value="15:30">15:30</option>
                                            <option value="16:00">16:00</option>
                                            <option value="16:30">16:30</option>
                                            <option value="17:00">17:00</option>
                                            <option value="17:30">17:30</option>
                                            <option value="18:00">18:00</option>
                                            <option value="18:30">18:30</option>
                                            <option value="19:00">19:00</option>
                                            <option value="19:30">19:30</option>
                                            <option value="20:00">20:00</option>
                                            <option value="20:30">20:30</option>
                                        </select>
                                    </div>
                                    <div class="input-group date dolphin_datetime_picker" style="width: 45%;float: right;">

                                        <select class="form-control" name="closeTime" dol-validate="required">
                                            <option value="10:00">10:00</option>
                                            <option value="10:30">10:30</option>
                                            <option value="11:00">11:00</option>
                                            <option value="11:30">11:30</option>
                                            <option value="12:00">12:00</option>
                                            <option value="12:30">12:30</option>
                                            <option value="13:00">13:00</option>
                                            <option value="13:30">13:30</option>
                                            <option value="14:00">14:00</option>
                                            <option value="14:30">14:30</option>
                                            <option value="15:00">15:00</option>
                                            <option value="15:30">15:30</option>
                                            <option value="16:00">16:00</option>
                                            <option value="16:30">16:30</option>
                                            <option value="17:00">17:00</option>
                                            <option value="17:30">17:30</option>
                                            <option value="18:00">18:00</option>
                                            <option value="18:30">18:30</option>
                                            <option value="19:00">19:00</option>
                                            <option value="19:30">19:30</option>
                                            <option value="20:00">20:00</option>
                                            <option value="20:30">20:30</option>
                                            <option value="21:00">21:00</option>
                                            <option value="21:30">21:30</option>
                                            <option value="22:00">22:00</option>
                                            <option value="22:30">22:30</option>
                                            <option value="23:00">23:00</option>
                                            <option value="23:30">23:30</option>
                                            <option value="23:59">23:59</option>
                                        </select>
                                    </div>

                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.contactPerson') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="contactPerson" type="text">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.telephone') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="telephone" type="text">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.cellphoneNumber') %></label>
                                <div class="col-md-6">
                                    <input class="form-control" name="mobile" type="text">
                                </div>
                            </div>

                        </form>
                        <!--店铺基本信息 end-->
                        <hr/>
                        <div class="operationButton" style=" height: 40px;">
                            <button type="button" class="btn btn-primary" style="float: left" id="step_prev"><%= __('framework.previousStep') %></button>
                            <button type="button" class="btn btn-primary" style="float: right" id="step_save"><%= __('account.save') %></button>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>

<div class="modal" id="device_win">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <span class="modal-title"><%= __('framework.equipmentMaintainence') %></span>
            </div>
            <div class="modal-body">
                <div class="tab-pane">
                    <form class="form-horizontal device-edit-form">
                        <input type="hidden" class="form-control" name="id">
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.subordinateStore') %></label>
                            <div class="col-md-6">
                                <select  id="myShopSel" style="width: 269px; height: 32px;"
                                         name="customer.id" class="js-example-basic-single"></select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.equipmentName') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="name" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.equipmentCode') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="code" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.equipmentType') %></label>
                            <div class="col-md-6">
                                <select class="form-control" options="deviceType" name="type"></select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.equipmentPosition') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="position" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.recordCycle') %></label>
                            <div class="col-md-6">
                                <select class="form-control" name="recordPeriod" dol-validate="required">
                                    <option value="0">0</option>
                                    <option value="5">5</option>
                                    <option value="10">10</option>
                                    <option value="15">15</option>
                                    <option value="30">30</option>
                                    <option value="45">45</option>
                                    <option value="60">60</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.acquisitionCycle') %></label>
                            <div class="col-md-6">
                                <select class="form-control" name="uploadPeriod" dol-validate="required">
                                    <option value="0">0</option>
                                    <option value="5">5</option>
                                    <option value="10">10</option>
                                    <option value="15">15</option>
                                    <option value="30">30</option>
                                    <option value="45">45</option>
                                    <option value="60">60</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.dataDirection') %></label>
                            <div class="col-md-6">
                                <select class="form-control" name="direction">
                                    <option value="1"><%= __('equipment.positiveDirection') %></option>
                                    <option value="0"><%= __('equipment.negtiveDirection') %></option>
                                </select>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary btn_submit"><%= __('account.save') %></button>
                <button type="button" class="btn btn-default" data-dismiss="modal"><%= __('account.delete') %></button>
            </div>
        </div>
    </div>
</div>

<!--渠道商编辑界面-->
<div class="modal" id="vendor_win">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <span class="modal-title"><%= __('distributor.CDMaintanence') %></span>
            </div>
            <div class="modal-body">
                <div class="tab-pane">
                    <form class="form-horizontal vendor-edit-form">
                        <input type="hidden" class="form-control" name="id">
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('tenant.CDName') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="name" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('tenant.CDCode') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="code" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label">LOGO<br/><small><%= __('framework.suggested') %></small></label>
                            <div class="col-md-6">
                                <div class="js-sku-atom-list sku-atom-list" >
                                    <div class="sku-atom active">
                                        <div class="atom-close close-modal small js-remove-sku-atom">×</div>
                                        <div class="upload-img-wrap ">
                                            <div class="js-upload-container" style="position:relative;">
                                                <div class="add-image js-btn-add">+
                                                    <input style="position:absolute ; top:0 ; right:0 ; margin:0 ; opacity:0 ; cursor:pointer;"
                                                           class="imgupload"  type="file" name="upfile" multiple>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.contactPerson') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="contactPerson" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.telephone') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="mobile" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.email') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="email" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.address') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="address" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.basicRebate') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="profit" type="number">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary btn_save_edit_form"><%= __('account.save') %></button>
                <button type="button" class="btn btn-default" data-dismiss="modal"><%= __('account.delete') %></button>
            </div>
        </div>
    </div>
</div>

<!--客户编辑界面-->
<div class="modal" id="customer_win">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <span class="modal-title"><%= __('framework.customerMaintanence') %></span>
            </div>
            <div class="modal-body">
                <div class="tab-pane">
                    <form class="form-horizontal customer-edit-form">
                        <input type="hidden" class="form-control" name="id">
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.clientName') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="name" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.clientCode') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="code" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label">LOGO<br/><small><%= __('framework.suggested') %></small></label>
                            <div class="col-md-6">
                                <div class="js-sku-atom-list sku-atom-list" >
                                    <div class="sku-atom active">
                                        <div class="atom-close close-modal small js-remove-sku-atom">×</div>
                                        <div class="upload-img-wrap ">
                                            <div class="js-upload-container" style="position:relative;">
                                                <div class="add-image js-btn-add">+
                                                    <input style="position:absolute ; top:0 ; right:0 ; margin:0 ; opacity:0 ; cursor:pointer;"
                                                           class="imgupload"  type="file" name="upfile" multiple>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.clientSource') %></label>
                            <div class="col-md-6">
                                <select class="form-control" options="source" name="source"></select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.businessCategory') %></label>
                            <div class="col-md-6">
                                <select class="form-control" options="industry" name="industry"></select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.distributor') %></label>
                            <div class="col-md-6">
                                <select class="form-control customer-win-vendor-select"
                                        options
                                        optionUrl="/api/c477f55806ed4b3f934c3a21f8788dde"
                                        ajaxType="post"
                                        optionParam=''
                                        codeField="id" nameField="name" name="properties.vendorId"></select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.contactPerson') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="contactPerson" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.cellphoneNumber') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="mobile" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.email') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="email" type="email">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.address') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="address" type="text">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary btn_save_edit_form"><%= __('account.save') %></button>
                <button type="button" class="btn btn-default" data-dismiss="modal"><%= __('account.delete') %></button>
            </div>
        </div>
    </div>
</div>

<!--目录编辑界面-->
<div class="modal" id="group_win">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <span class="modal-title"><%= __('framework.catalogMaintanence') %></span>
            </div>
            <div class="modal-body">
                <div class="tab-pane">
                    <form class="form-horizontal group-edit-form">
                        <input type="hidden" class="form-control" name="id">
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.catalogName') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="name" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.catalogCodes') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="code" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('store.superior') %></label>
                            <div class="col-md-6">
                                <select class="form-control"
                                        options
                                        optionUrl="/api/a5f6cef1dae94e42ad22f1dead43c2c8@accountId=<%= session.userData.userId%>"
                                        ajaxType="get"
                                        codeField="id" nameField="name" name="parent.id"></select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.contactPerson') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="contactPerson" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.cellphoneNumber') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="mobile" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.email') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="email" type="email">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.address') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="address" type="text">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary btn_save_edit_form"><%= __('account.save') %></button>
                <button type="button" class="btn btn-default" data-dismiss="modal"><%= __('account.delete') %></button>
            </div>
        </div>
    </div>
</div>

<!--店铺编辑界面-->
<div class="modal" id="shop_win">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <span class="modal-title"><%= __('framework.storeMaintanence') %></span>
            </div>
            <div class="modal-body">
                <div class="tab-pane">
                    <form class="form-horizontal shop-edit-form">
                        <input type="hidden" class="form-control" name="id">
                        <input type="hidden" name="category" value="3">
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('store.name') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="name" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('store.storeCode') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="code" type="text" dol-validate="required">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('store.storeType') %></label>
                            <div class="col-md-6">
                                <select class="form-control" id="edit_shopType" name="shopType"   options="" ></select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('store.superior') %></label>
                            <div class="col-md-6">
                                <select id="parent_select"
                                        style="width: 269px; height: 32px;"
                                        name="parent.id"
                                        class="js-example-basic-single"></select>

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.province') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="province" placeholder="<%= __('framework.province') %>" type="text" style="width: 45%;float: left;">
                                <input class="form-control" name="city" placeholder="<%= __('framework.city') %>" type="text" style="width: 45%;float: right;">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.storeAddress') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="address" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.timezone') %></label>
                            <div class="col-md-6">
                                <select class="form-control" name="timeZone" id="timeZone">
                                    <option value="0">UTC</option>
                                    <option value="1">UTC+1</option>
                                    <option value="2">UTC+2</option>
                                    <option value="3">UTC+3</option>
                                    <option value="4">UTC+4</option>
                                    <option value="5">UTC+5</option>
                                    <option value="6">UTC+6</option>
                                    <option value="7">UTC+7</option>
                                    <option value="8">UTC+8</option>
                                    <option value="9">UTC+9</option>
                                    <option value="10">UTC+10</option>
                                    <option value="11">UTC+11</option>
                                    <option value="-11">UTC-11</option>
                                    <option value="-10">UTC-10</option>
                                    <option value="-9">UTC-9</option>
                                    <option value="-8">UTC-8</option>
                                    <option value="-7">UTC-7</option>
                                    <option value="-6">UTC-6</option>
                                    <option value="-5">UTC-5</option>
                                    <option value="-4">UTC-4</option>
                                    <option value="-3">UTC-3</option>
                                    <option value="-2">UTC-2</option>
                                    <option value="-1">UTC-1</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.openingStore') %></label>
                            <div class="col-md-6">
                                <div class="input-group date dolphin_date_picker" >
                                    <input type="text" class="form-control" name="openDate" id="openDateWin">
                                    <span class="input-group-addon">
                                        <i class="glyphicon glyphicon-th"></i>
                                    </span>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.closingStore') %></label>
                            <div class="col-md-6">
                                <div class="input-group date dolphin_date_picker" >
                                    <input type="text" class="form-control" name="closeDate" id="closeDateWin">
                                    <span class="input-group-addon">
                                        <i class="glyphicon glyphicon-th"></i>
                                    </span>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-0 col-md-3 control-label"><%= __('framework.expirationMaintainence') %></label>
                            <div class="col-md-6">
                                <div class="input-group date dolphin_date_picker" >
                                    <input type="text" class="form-control" name="guaranteeDeadLine" id="guaranteeDeadLineWin">
                                    <span class="input-group-addon">
                                        <i class="glyphicon glyphicon-th"></i>
                                    </span>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.businessTime') %></label>
                            <div class="col-md-6">
                                <div class="input-group" style="width: 45%;float: left;">
                                    <select class="form-control" name="openTime" dol-validate="required">
                                        <option value="">--<%= __('account.pleaseSelect') %>--</option>
                                        <option value="0:00">0:00</option>
                                        <option value="0:30">0:30</option>
                                        <option value="1:00">1:00</option>
                                        <option value="1:30">1:30</option>
                                        <option value="2:00">2:00</option>
                                        <option value="2:30">2:30</option>
                                        <option value="3:00">3:00</option>
                                        <option value="3:30">3:30</option>
                                        <option value="4:00">4:00</option>
                                        <option value="4:30">4:30</option>
                                        <option value="5:00">5:00</option>
                                        <option value="5:30">5:30</option>
                                        <option value="6:00">6:00</option>
                                        <option value="6:30">6:30</option>
                                        <option value="7:00">7:00</option>
                                        <option value="7:30">7:30</option>
                                        <option value="8:00">8:00</option>
                                        <option value="8:30">8:30</option>
                                        <option value="9:00">9:00</option>
                                        <option value="9:30">9:30</option>
                                        <option value="10:00">10:00</option>
                                        <option value="10:30">10:30</option>
                                        <option value="11:00">11:00</option>
                                        <option value="11:30">11:30</option>
                                        <option value="12:00">12:00</option>
                                        <option value="12:30">12:30</option>
                                        <option value="13:00">13:00</option>
                                        <option value="13:30">13:30</option>
                                        <option value="14:00">14:00</option>
                                        <option value="14:30">14:30</option>
                                        <option value="15:00">15:00</option>
                                        <option value="15:30">15:30</option>
                                        <option value="16:00">16:00</option>
                                        <option value="16:30">16:30</option>
                                        <option value="17:00">17:00</option>
                                        <option value="17:30">17:30</option>
                                        <option value="18:00">18:00</option>
                                        <option value="18:30">18:30</option>
                                        <option value="19:00">19:00</option>
                                        <option value="19:30">19:30</option>
                                        <option value="20:00">20:00</option>
                                        <option value="20:30">20:30</option>
                                    </select>
                                </div>
                                <div class="input-group date dolphin_datetime_picker" style="width: 45%;float: right;">

                                    <select class="form-control" name="closeTime" dol-validate="required">
                                        <option value="10:00">10:00</option>
                                        <option value="10:30">10:30</option>
                                        <option value="11:00">11:00</option>
                                        <option value="11:30">11:30</option>
                                        <option value="12:00">12:00</option>
                                        <option value="12:30">12:30</option>
                                        <option value="13:00">13:00</option>
                                        <option value="13:30">13:30</option>
                                        <option value="14:00">14:00</option>
                                        <option value="14:30">14:30</option>
                                        <option value="15:00">15:00</option>
                                        <option value="15:30">15:30</option>
                                        <option value="16:00">16:00</option>
                                        <option value="16:30">16:30</option>
                                        <option value="17:00">17:00</option>
                                        <option value="17:30">17:30</option>
                                        <option value="18:00">18:00</option>
                                        <option value="18:30">18:30</option>
                                        <option value="19:00">19:00</option>
                                        <option value="19:30">19:30</option>
                                        <option value="20:00">20:00</option>
                                        <option value="20:30">20:30</option>
                                        <option value="21:00">21:00</option>
                                        <option value="21:30">21:30</option>
                                        <option value="22:00">22:00</option>
                                        <option value="22:30">22:30</option>
                                        <option value="23:00">23:00</option>
                                        <option value="23:30">23:30</option>
                                        <option value="23:59">23:59</option>
                                    </select>
                                </div>

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.contactPerson') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="contactPerson" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.telephone') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="telephone" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-offset-1 col-md-3 control-label"><%= __('framework.cellphoneNumber') %></label>
                            <div class="col-md-6">
                                <input class="form-control" name="mobile" type="text">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary btn_save_edit_form"><%= __('account.save') %></button>
                <button type="button" class="btn btn-default" data-dismiss="modal"><%= __('account.delete') %></button>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="myModal" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
        <img id="showBigImg" src="/custom/images/house_default.png" />
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->

<script src="<%= global.config.cdn %>/bootstrap-datepicker/1.6.1/js/bootstrap-datepicker.min.js"></script>
<script src="<%= global.config.publicPath %>/page/scripts/<%= path %>.js"></script>